body {
    background-color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #222;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #222;
}

.menu ul li a {
    display: block;
    padding: 14px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.menu ul li a:hover {
    background: #333;
    border-bottom: 3px solid #ff3333;
}

.menu ul li a.active {
    background: #333;
    border-bottom: 3px solid #ff3333;
}

section h2 {
    text-align: center;
    margin-top: 25px;
}

section p {
    max-width: 750px;
    margin: 20px auto;
    line-height: 1.6;
    font-size: 1.05rem;
    text-align: justify;
}

.img-container {
    text-align: center;
    margin-top: 20px;
}

.img-container img {
    width: 30%;
    border-radius: 8px;
}

footer {
    background: #222;
    color: white;
    padding: 15px;
    margin-top: 20px;
}

.tabla-bandas {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.tabla-bandas th,
.tabla-bandas td {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

.tabla-bandas th {
    background-color: #222;
    color: white;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.tabla-bandas tr:last-child td {
    border-bottom: none;
}
.tabla-bandas td:nth-child(2),
.tabla-bandas th:nth-child(2),
.tabla-bandas td:nth-child(3),
.tabla-bandas th:nth-child(3) {
    text-align: center;
}

.tabla-bandas td,
.tabla-bandas th {
    text-align: center;
    vertical-align: middle;
}

.img-band {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-band img {
    display: block;
    margin: 0 auto;
}

.img-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.img-band img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.lista-subgeneros {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 20px;
}

.lista-subgeneros li {
    display: inline-block;
    margin: 5px 10px;
    font-size: 15px;
    padding: 5px 10px;
    background: #eee;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.historia {
    width: 90%;
    margin: auto;
}

.etapa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 60px 0;
}

.texto {
    flex: 1;
    max-width: 55%;
}

.imagen {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
}

.imagen img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    display: block;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px;
}

.galeria-grid .item {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.galeria-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.form-rock {
    width: 35%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.grupo {
    position: relative;
    width: 100%;
}

.form-rock input,
.form-rock textarea,
.form-rock select {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 2px solid #777;
    background: transparent;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    resize: none;
}

/* Efecto focus */
.form-rock input:focus,
.form-rock textarea:focus,
.form-rock select:focus {
    border-bottom-color: #000;
}

/* Etiquetas flotantes */
.grupo label {
    position: absolute;
    left: 0;
    top: 8px;
    color: #777;
    pointer-events: none;
    transition: 0.3s;
}

/* Cuando escribes, la etiqueta sube */
.form-rock input:valid + label,
.form-rock input:focus + label,
.form-rock textarea:valid + label,
.form-rock textarea:focus + label,
.form-rock select:valid + label,
.form-rock select:focus + label {
    top: -10px;
    font-size: 12px;
    color: #000;
}

/* Botón */
.btn-rock {
    padding: 10px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover */
.btn-rock:hover {
    background: #333;
    transform: translateY(-2px);
}
